const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  publicPath: './',
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    proxy: {
      '/bigscreen': {
        target: 'http://114.55.179.72:8888/',
        changeOrigin: true,
        pathRewrite: {
          '^/bigscreen': ''
        }
      }
    }
  },
  css: {
    loaderOptions: {
      sass: {
        additionalData: `@import "@/utils/adapterVwVh.scss";`,//px 转 vw vh
      },
    },
  },
})
